﻿using System;
using BlobNet.Base;

namespace BlobNet.FunctionalTests.Dummy
{
    [Serializable]
    internal class DummyBlobPartB : BlobPart
    {
        public DummyBlobPartB(BlobDomain blobDomain) : base(blobDomain, Guid.NewGuid())
        {
        }

        public DummyBlobPartB()
            : base(Guid.NewGuid())
        {
        }

        public string StringProperty
        {
            get { return GetStatusValue<string>("StringProperty"); }
            set { SetStatusValue("StringProperty", value); }
        }

        public int IntProperty
        {
            get { return GetStatusValue<int>("IntProperty"); }
            set { SetStatusValue("IntProperty", value); }
        }

       
    }
}